package com.flea.hclv.model.dao;

import com.flea.hclv.model.entity.HCarAgencyItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface HCarAgencyItemMapper {
    int deleteByPrimaryKey(String id);

    int insert(HCarAgencyItem record);

    int insertSelective(HCarAgencyItem record);

    HCarAgencyItem selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HCarAgencyItem record);

    int updateByPrimaryKey(HCarAgencyItem record);

    int insertList(@Param("hCarAgencyItems") List<HCarAgencyItem> hCarAgencyItems);

    List<HCarAgencyItem> selectByReserveCarIdAndPaging(RowBounds rowBounds, @Param("carAgencyId") String carAgencyId);
}